#if !defined(AFX_HYPERLINK_H__87802BC0_D4C2_4613_AFCF_15E66F3463E0__INCLUDED_)
#define AFX_HYPERLINK_H__87802BC0_D4C2_4613_AFCF_15E66F3463E0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HyperLink.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CHyperLink window

class CHyperLink : public CStatic
{
// Construction
public:
	CHyperLink();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHyperLink)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void PreSubclassWindow();
	//}}AFX_VIRTUAL

// Implementation
public:
	void SetHint(CString strHint);
	void SetHotColor(COLORREF crHotColor);
	void SetTextColor(COLORREF crTextColor);
	void SetTransparent(bool Transparent);
	void SetCursor(HCURSOR hCursor);
	void SetURL(CString strURL);
	virtual ~CHyperLink();

	// Generated message map functions
protected:
	//{{AFX_MSG(CHyperLink)
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	CString m_strHint;
	void DrawBG();
	HCURSOR m_hCursor;
	CString m_strURL;
	COLORREF m_crBgColor;
	COLORREF m_crTextColor;
	COLORREF m_crHotColor;
	LOGFONT m_lf;
	bool m_bUseBg;
	bool m_bMouseMove;
	CToolTipCtrl ttc;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HYPERLINK_H__87802BC0_D4C2_4613_AFCF_15E66F3463E0__INCLUDED_)
